package com.coderman.daoclient.reflect;


/**
 * Created by ${fanchunshuai} on 2017-7-26.
 *
 * @version: V1.0
 * @Desc:描述bean的基本信息
 */
public class FieldInfo {
    //字段类型
    private int colType;

    //列名称，字段名
    private String colName;

    //bean属性名
    private String fieldName;

    //bean属性值
    private Object fieldValue;

    //getXXX()方法名称
    private String getMethodName;

    //setXXX()方法名称
    private String setMethodName;

    //是否是id 1:是 , 0:否
    private int isID;

    public int getColType() {
        return colType;
    }

    public void setColType(int colType) {
        this.colType = colType;
    }

    public String getColName() {
        return colName;
    }

    public void setColName(String colName) {
        this.colName = colName;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public Object getFieldValue() {
        return fieldValue;
    }

    public void setFieldValue(Object fieldValue) {
        this.fieldValue = fieldValue;
    }

    public String getGetMethodName() {
        return getMethodName;
    }

    public void setGetMethodName(String getMethodName) {
        this.getMethodName = getMethodName;
    }

    public String getSetMethodName() {
        return setMethodName;
    }

    public void setSetMethodName(String setMethodName) {
        this.setMethodName = setMethodName;
    }

    public int getIsID() {
        return isID;
    }

    public void setIsID(int isID) {
        this.isID = isID;
    }

    @Override
    public String toString() {
        return "FieldInfo{" +
                "colType=" + colType +
                ", colName='" + colName + '\'' +
                ", fieldName='" + fieldName + '\'' +
                ", fieldValue=" + fieldValue +
                ", getMethodName='" + getMethodName + '\'' +
                ", setMethodName='" + setMethodName + '\'' +
                ", isID=" + isID +
                '}';
    }
}
